package com.beordie.version_2.beans;

import java.sql.Wrapper;

/**
 * @Description
 * @Date 2022/2/14 9:53
 * @Created 30500
 */
public class BODBeanWrapper {
    /**
     * 封装对象
     */
    private Object wrappedInstance;

    /**
     * 封装对象的类型
     */
    private Class<?> wrapperedClass;

    public Object getWrappedInstance() {
        return this.wrappedInstance;
    }

    public Class<?> getWrappedClass() {
        return this.wrapperedClass;
    }

    public BODBeanWrapper(Object wrappedInstance) {
        this.wrappedInstance = wrappedInstance;
        this.wrapperedClass = wrappedInstance.getClass();
    }
}
